package com.cyq.dascma.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 课程表
 * dingwen
 * 2021/4/4 17:50
 **/
@Getter
@Setter
@ToString
@ApiModel(description = "课程表")
@TableName("dasc_man_schedule")
public class Schedule implements Serializable {
    private static final long serialVersionUID = 6571308103138399417L;

    @ApiModelProperty(value = "课程表ID主键", name = "scheduleId")
    @TableId(value = "schedule_id")
    private String scheduleId;

    @ApiModelProperty(name = "courseId", value = "课程编号")
    @TableField(value = "course_id")
    private String courseId;

    @ApiModelProperty(name = "teacherId", value = "授课教师ID")
    @TableField(value = "teacher_id")
    private String teacherId;


    @ApiModelProperty(name = "clazzId", value = "班级编号")
    @TableField(value = "clazz_id")
    private String clazzId;

    @ApiModelProperty(name = "scheduleTimeStart", value = "上课时间起")
    @TableField(value = "schedule_time_start")
    private Timestamp scheduleTimeStart;

    @ApiModelProperty(name = "scheduleTimeEnd", value = "上课时间止")
    @TableField(value = "schedule_time_end")
    private Timestamp scheduleTimeEnd;


    @ApiModelProperty(name = "scheduleYear", value = "学年")
    @TableField("schedule_year")
    private String scheduleYear;

    @ApiModelProperty(name = "scheduleType", value = "学期【0：上学期 1：下学期】")
    @TableField("schedule_type")
    private Integer scheduleType;

}
